package com.learner.exam;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.domain.EntityScan;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

/**
* @author ice2020x
* @Date: 2023/3/7
* @Description: 在线题库的启动类
**/
@SpringBootApplication
@EntityScan(basePackages ={"com.learner.pojo.exam"})
@ComponentScan(basePackages = {"com.learner.common","com.learner.exam"})
@MapperScan(basePackages ={"com.learner.exam.dao","com.learner.common"})
@EnableFeignClients
@EnableDiscoveryClient
public class LsServiceExamApplication {

    public static void main(String[] args) {
        SpringApplication.run(LsServiceExamApplication.class, args);
    }

}
